﻿@model Gman.WebApp.Models.MaterialModel
<script src="../../Scripts/Binding/Material.js" type="text/javascript"></script>
<script type="text/javascript">
    var guid = "@( Model.ID.ToString())";
    var action = "@( Model.Action.ToString())";

    $(document).ready(function () {
        SetupControls();
        SetupActions();
    });


</script>
<div style="margin-top: 5px;">
    <div class="DataTop">
        <div class="DataTopLeft">
        </div>
        <div class="DataTopRight">
        </div>
    </div>
    <div class="DataContent">
        <div class="DataContentRight" style="height: 50px;">
            <b>Materiales/Productos </b>@{Html.RenderPartial("ToolBar", Model.ToolBar);}
        </div>
    </div>
    <div class="DataBottom">
        <div class="DataBottomLeft">
        </div>
        <div class="DataBottomRight">
        </div>
    </div>
</div>
<div class="DataContent">
    <div class="DataContentRight">
        <div class="DataTable">
            <fieldset>
                <div id="AddEditDiv">
                    @{ Html.RenderPartial("~/Views/Material/AddEditMaterial.cshtml", Model); }
                </div>
            </fieldset>
        </div>
    </div>
    <div class="DataContent">
    </div>
    <div class="DataContent">
        <div class="DataContentRight" style="height: 300px;">
            <br />
            <div id="ListaMaterialesDiv">
                @{Html.RenderPartial("~/Views/Material/ListaMateriales.cshtml", Model);}
            </div>
        </div>
    </div>
</div>
<div id="ProveedoresPopupDiv">
</div>
